package com.jrlc.springaidemo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class SpringAiDemoApplication {


    public static void main(String[] args) {
        String proxy = "127.0.0.1";  // 如果代理在你本机就127.0.0.1如果代理是其他服务器相应设置
        int port = 7890;   //设置科学上网代理的端口，
        System.setProperty("proxyType","4");
        System.setProperty("proxyPort",Integer.toString(port));
        System.setProperty("proxyHost",proxy);
        System.setProperty("proxySet","true");
        SpringApplication.run(SpringAiDemoApplication.class, args);
    }

}
